"""
参数设置
"""

# 数据集所在文件夹
BASE_DIRECTORY = "data"

# 数据集名称
DATA_NAME = "casia"

# 数据集的标签列表
CASIA_LABELS = ["angry", "fear", "happy", "neutral", "sad", "surprise"]

# 数据集保留的片段数
SEGMENT_NUM = 4

# 数据集训练集与训练集的划分比例
TRAIN_RATIO = 0.8

# MFCC 特征提取参数
SAMPLE_RATE = 16000  # 采样率

N_MFCC = 40  # MFCC 分帧时每帧用那么多维的数据表示

N_FTT = 1024

N_MELS = 128

HOP_LENGTH = 256

# 模型参数
DROPOUT = 0.3

BATCH_SIZE = 32

EPOCHS = 100

# 优化器配置
LEARNING_RATE = 1e-4

LEARNING_RATE_DECAY_PARAMETERS = -0.15

LEARNING_RATE_DECAY_STRATPOINT = 50

LEARNING_RATE_DECAY_STEP = 20
